import {
	https
} from "./router";

//获取验证码
export function send(data){
	return https({
		url:'api/sms/send',
		method:'POST',
		data
	})
}

//注册
export function register(data){
	return https({
		url:'api/user/register',
		method:'POST',
		data
	})
}

//账号密码登录
export function login(data){
	return https({
		url:'api/user/login',
		method:'POST',
		data
	})
}

//短信登录
export function mobilelogin(data){
	return https({
		url:'api/user/mobilelogin',
		method:'POST',
		data
	})
}